package com.lanhe.game.tixian.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lanhe.game.tixian.domain.LhGameSq;


import java.util.List;

/**
 * 用户提现申请(LhOrdersWithdrawal)表服务接口
 *
 * @author zhanggl
 * @since 2024-01-05 21:35:19
 */
public interface ILhGameSqService extends IService<LhGameSq> {

	/**
	 * 分页查询所																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									有数据
	 *
	 * @param lhGameSq 实体
	 * @return java.util.List<com.lanhe.order.domain.LhOrdersWithdrawal>
	 * @author zhanggl
	 * @date 2024/1/5
	 */
	List<LhGameSq> selectGameList(LhGameSq lhGameSq);

	/**
	 * 根据ID查询订单
	 *
	 * @param orderId 订单ID
	 * @return com.lanhe.order.domain.LhOrdersWithdrawal
	 * @author zhanggl
	 * @date 2024/1/5
	 */
	LhGameSq selectOrdersWithdrawalById(Long orderId);

	/**
	 * 审核+是否付款
	 *
	 * @param lhGameSq 实体
	 * @return int
	 * @author zhanggl
	 * @date 2024/1/5
	 */
	int auditOrdersWithdrawalById(LhGameSq lhGameSq);

	/**
	 * 设为已支付
	 *
	 * @param lhGameSq 实体
	 * @return int
	 * @author zhanggl
	 * @date 2024/1/5
	 */
	int setPayed(LhGameSq lhGameSq);

	/**
	 * 提现申请
	 *
	 * @param lhGameSq 实体
	 * @return int
	 * @author zhanggl
	 * @date 2024/1/5
	 */
	int insertOrdersWithdrawa(LhGameSq lhGameSq);
}

